package com.wyx.service;

import com.wyx.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
    /**
 * @author  xiaoxiong
 * @date  2021/2/24 19:17
 * @version 1.0
 */
public interface UserService {

        /**
         * 根据手机号查询用户
         * @param phone
         * @return
         */
        User queryUserByPhone(String phone);

        /**
         * 根据用户id查询用户
         * @param userId
         * @return
         */
        User getOne(Long userId);


}
